package com.mapper;

import java.util.List;

import com.bean.RolePermission;

public interface RolePermissionMapper {
    int deleteByPrimaryKey(Integer rolePermissionId);

    int insert(RolePermission record);
     
    List<RolePermission> selectAll();
    
    List<RolePermission> selectByRoleId(Integer roleId);
    
    int deleteByRoleId(Integer roleId);

    int insertSelective(RolePermission record);

    RolePermission selectByPrimaryKey(Integer rolePermissionId);

    int updateByPrimaryKeySelective(RolePermission record);

    int updateByPrimaryKey(RolePermission record);
}